// 动态添加的路由
// 导入静态路由
import staticRoutes from '@/router/StaticRoutes'
export default [
  {
    path: '/',
    redirect: '/welcome',
    component: () => import('@/pages/Home'),
    // 将静态路由注入
    children: [...staticRoutes]
  }
]
